package com.org.api.admin.entity.po;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description
 * @auther dh
 * @date 2022/2/28 18:32
 */
public abstract class CmsUserBaseResultVO<T> {

	private Integer orderSort;

	private String moduleType;

	private Integer isLongTerm;

	private String showStartTime;

	private String showEndTime;

	private List<T> list;

	public void addModuleData(T data) {
		if (null == list) {
			list = new ArrayList<>();
		}
		list.add(data);
	}


	public Integer getOrderSort() {
		return orderSort;
	}

	public void setOrderSort(Integer orderSort) {
		this.orderSort = orderSort;
	}

	public String getModuleType() {
		return moduleType;
	}

	public void setModuleType(String moduleType) {
		this.moduleType = moduleType;
	}

	public Integer getIsLongTerm() {
		return isLongTerm;
	}

	public void setIsLongTerm(Integer isLongTerm) {
		this.isLongTerm = isLongTerm;
	}

	public String getShowStartTime() {
		return showStartTime;
	}

	public void setShowStartTime(String showStartTime) {
		this.showStartTime = showStartTime;
	}

	public String getShowEndTime() {
		return showEndTime;
	}

	public void setShowEndTime(String showEndTime) {
		this.showEndTime = showEndTime;
	}

	public List<T> getList() {
		return list;
	}

	public void setList(List<T> list) {
		this.list = list;
	}
}
